<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>找回密码</title>
<!-- Bootstrap -->
<link href="{SHUAFEN_STATICS_PATH}css/bootstrap.min.css"
	rel="stylesheet">
<link href="{SHUAFEN_STATICS_PATH}css/profile_style.css" rel="stylesheet">
<link href="{SHUAFEN_STATICS_PATH}css/response.css" rel="stylesheet">
<link href="{SHUAFEN_STATICS_PATH}css/bootstrapValidator.css" rel="stylesheet">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
      <script src="http://cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="{SHUAFEN_STATICS_PATH}js/lib/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="{SHUAFEN_STATICS_PATH}js/lib/bootstrap.min.js"></script>
<script src="{SHUAFEN_STATICS_PATH}js/lib/bootstrapValidator.min.js"></script>
<script src="{SHUAFEN_STATICS_PATH}js/lib/style.js"></script>
<script type="text/javascript">
$(function (){
	 $('#fm').bootstrapValidator({
	       live: 'disabled',
	       message: '输入有误',
	       feedbackIcons: {
	           valid: 'glyphicon glyphicon-ok',
	           invalid: 'glyphicon glyphicon-remove',
	           validating: 'glyphicon glyphicon-refresh'
	       },
	       fields : {
	    	   "username" : {
	    		   validators : {
	    			   notEmpty : {
	    				   message : '<span style="font-size:1.2em;">电话号码不能为空！</span>'
	    			   },
	    			   regexp:{
	    			   		regexp:/\d{11}/,
	    			   		message:'<span style="font-size:1.2em;">请输入正确的电话号码！</span>'
	    			   }
	    		   }
	    	   },
	       }
	});
});
</script>
</head>
<body>
	<form id="fm" method="post" action="index.php?m=shuafen&c=web&a=findpwd&dosubmit=1">
		<div class="form-group">
			<input type="number" class="form-control input-lg" value="{$username}" id="telephone" name="username" placeholder="输入电话号码">
		</div>
		<div class="form-group">
			<select  class="form-control input-lg" name="security_question">
				<option value="">请选择密保问题</option>
				<option value="你母亲是谁?">你母亲是谁?</option>
				<option value="你父亲是谁?">你父亲是谁?</option>
				<option value="你配偶是谁?">你配偶是谁?</option>
				<option value="你偶像是谁?">你偶像是谁?</option>
			</select>
		</div>
		<div class="form-group">
			<input type="text" class="form-control input-lg" id="password" name="security_answer" placeholder="输入选择答案">
		</div>
		<span style="color:red;font-size:1.2em;"><?php echo $message ?></span>
		<input type="submit" name="dosubmit" class="btn btn-danger btn-lg btn-block" value="提交" />
	</form>
	<div class="heights">&nbsp;</div>
</body>
</html>